import Layout from "../../layouts/index.vue"
export default {
    path: "/book",
    name: "book",
    redirect: "/booklist",
    component: Layout,
    meta: {
        title: "图书管理"
    },
    children: [
        {
            path: "/booklist",
            name: "booklist",
            component: () => import("../../views/book/booklist/list/index.vue"),
            meta: {
                title: "图书列表"
            },
        },
        {
            path: "/bookdetailed/:id",
            name: "bookdetailed",
            component: () => import("../../views/book/booklist/detailed/index.vue"),
            meta: {
                title: "图书详情",
                hidden: true,
                detailed: true
            },
        },
        {
            path: "/bookcategory",
            name: "bookcategory",
            component: () => import("../../views/book/category/list/index.vue"),
            meta: {
                title: "图书分类"
            },
        },
        {
            path: "/borrowlist",
            name: "borrowlist",
            component: () => import("../../views/book/borrowlist/list/index.vue"),
            meta: {
                title: "借阅管理"
            },
        },
    ]
}